﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FlexminAPI;
using System.Windows.Forms;

namespace TaskManager
{
	public class TaskMaster : IMaster
	{
		private TaskSlave slave;

		public override void Initialize(ISlave slave, IHost host)
		{
			this.slave = slave as TaskSlave;
		}

		public override Form GetUIForm()
		{
			return new TaskForm(slave);
		}
	}
}
